package com.ruoyi.jeeplus.modules.screen.screen_camera.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 摄像头管理对象 camera_table
 * 
 * @author ruoyi
 * @date 2024-11-27
 */
public class camera_table extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一标识符，自增 */
    private Long id;

    /** 摄像头ID（如果设备是摄像头类型） */
    @Excel(name = "摄像头ID", readConverterExp = "如=果设备是摄像头类型")
    private String cameraId;

    /** 充电桩ID */
    @Excel(name = "充电桩ID")
    private String stationId;

    /** token值，用于身份验证 */
    @Excel(name = "token值，用于身份验证")
    private String token;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String createdAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCameraId(String cameraId) 
    {
        this.cameraId = cameraId;
    }

    public String getCameraId() 
    {
        return cameraId;
    }
    public void setStationId(String stationId) 
    {
        this.stationId = stationId;
    }

    public String getStationId() 
    {
        return stationId;
    }
    public void setToken(String token) 
    {
        this.token = token;
    }

    public String getToken() 
    {
        return token;
    }
    public void setCreatedAt(String createdAt) 
    {
        this.createdAt = createdAt;
    }

    public String getCreatedAt() 
    {
        return createdAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cameraId", getCameraId())
            .append("stationId", getStationId())
            .append("token", getToken())
            .append("createdAt", getCreatedAt())
            .toString();
    }
}
